import request from '@/utils/request'

// 查询楼栋核酸任务列表
export function listBuildingacid(query) {
  return request({
    url: '/buildingacidsys/buildingacid/list',
    method: 'get',
    params: query
  })
}

// 查询楼栋核酸任务详细
export function getBuildingacid(id) {
  return request({
    url: '/buildingacidsys/buildingacid/' + id,
    method: 'get'
  })
}

// 新增楼栋核酸任务
export function addBuildingacid(data) {
  return request({
    url: '/buildingacidsys/buildingacid',
    method: 'post',
    data: data
  })
}

// 修改楼栋核酸任务
export function updateBuildingacid(data) {
  return request({
    url: '/buildingacidsys/buildingacid',
    method: 'put',
    data: data
  })
}

// 删除楼栋核酸任务
export function delBuildingacid(id) {
  return request({
    url: '/buildingacidsys/buildingacid/' + id,
    method: 'delete'
  })
}
